﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataType;
using Google.GData.Client;
using Google.Contacts;
using Google.Documents; 

namespace LocalView
{
    public interface ILocalView
    {
        event EventHandler<Credentials>             Login;
        event EventHandler                          Logout;
        event EventHandler<FeedWrapper<Contact> >   GetContacts;
        event EventHandler<FeedWrapper<Document> >  GetDocuments;
        event EventHandler<DocumentInfo>            UploadDocument;
        event EventHandler<DocumentInfo>            UpdateDocument;
        event EventHandler<FeedWrapper<Document> >  GetFolders;
        event EventHandler<DownloadInfo>            DownloadDocument;
        event EventHandler<ShareInfoCollection>     ShareDocument;
        event EventHandler<ShareInfoCollection>     GetDocumentAcl;
        event EventHandler<DocumentInfo>            LookForDocument;


        //event EventHandler<DocumentInfo> LookupLocalCopy;
        //event EventHandler<DocumentInfo> RegisterLocalCopy;
        //event EventHandler<DocumentInfo> LookupRemoteCopy; 

        //event EventHandler<Credentials> SaveCredentials;
        //event EventHandler<Credentials> LoadCredentials;

        event EventHandler<DocumentInfo> OpenDocumentInCloud; 
    }
}